﻿using UnityEngine;
using System.Collections;

public class DiaLogController  {

    public Dialog dialog;
    public UIGrid listView;
    public bool isAddListView;
    public void onItemClick(GameObject o) {

    }
    public DiaLogController(string dialogGameObjectName, Dialog.DialogVoidDelegate onClick1) {
        dialog = Dialog.create(dialogGameObjectName, onClick1);
        listView = dialog.getRootGameObject().transform.FindChild("ListView/Scroll View/Grid").gameObject.GetComponent<UIGrid>();
    }
}
